package u.zh.cp;

import static org.junit.jupiter.api.Assertions.*;

import org.junit.jupiter.api.Test;

class FindTC {
  @Test
  void testChangeX() {
    Find f = new Find();
    assertEquals(9, f.changeX(-1));
    assertEquals(20, f.changeX(0));
    assertEquals(31, f.changeX(1));
  }
  @Test
  void testChangeY() {
    Find f = new Find();
    assertEquals(9, f.changeY(-1));
    assertEquals(20, f.changeY(0));
    assertEquals(31, f.changeY(1));
  }
  @Test
  void testChangeXY() {
    Find f = new Find();
    assertEquals(18, f.changeXY(-1,-1));
//    assertEquals(20, f.changeXY(0));
//    assertEquals(31, f.changeXY(1));
  }
}
